package com.guet.careapp.controller.rest.common.errorCode;

/**
 * Created by LXM on 2017/10/13.
 *
 * @author LXM
 * @version 1.0
 * @description 用于建立返回的错误代码
 * @datetime 19:32
 */
public class ErrorCode {

    private String codeNum;

    private String meanning;

    private Object object;

    public ErrorCode(String codeNum, String meanning) {
        this.codeNum = codeNum;
        this.meanning = meanning;
    }

    public ErrorCode(String codeNum, String meanning, Object object) {
        this.codeNum = codeNum;
        this.meanning = meanning;
        this.object = object;
    }

    public String getCodeNum() {
        return codeNum;
    }

    public void setCodeNum(String codeNum) {
        this.codeNum = codeNum;
    }

    public String getMeanning() {
        return meanning;
    }

    public void setMeanning(String meanning) {
        this.meanning = meanning;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }
}
